package com.googlecode.imanager.client.io;

import com.googlecode.imanager.client.util.Callback;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public abstract class File {

    private final Path path;

    public File(Path path) {
        super();
        this.path = path;
    }

    public Path getPath() {
        return path;
    }
    
    public abstract void openRead(Callback<InputStream> callback);

    public abstract void openWrite(Callback<OutputStream> callback);

}
